home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
99%
| dexvert
| Texinfo Document (document/texInfo)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX 2e document text
| default
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| TeX document text
| default
| |
97%
| file
| LaTeX auxiliary file, ASCII text
| default
| |
100%
| TrID
| LaTeX 2e document (with rem)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 69 66 66 61 6c | 73 65 0a 25 25 20 46 69 |% \iffal|se.%% Fi|
|00000010| 6c 65 3a 20 78 72 2e 64 | 74 78 20 43 6f 70 79 72 |le: xr.d|tx Copyr|
|00000020| 69 67 68 74 20 28 43 29 | 20 31 39 39 33 2d 31 39 |ight (C)| 1993-19|
|00000030| 39 34 20 44 61 76 69 64 | 20 43 61 72 6c 69 73 6c |94 David| Carlisl|
|00000040| 65 0a 25 0a 25 3c 70 61 | 63 6b 61 67 65 3e 5c 4e |e.%.%<pa|ckage>\N|
|00000050| 65 65 64 73 54 65 58 46 | 6f 72 6d 61 74 7b 4c 61 |eedsTeXF|ormat{La|
|00000060| 54 65 58 32 65 7d 0a 25 | 3c 70 61 63 6b 61 67 65 |TeX2e}.%|<package|
|00000070| 3e 5c 50 72 6f 76 69 64 | 65 73 50 61 63 6b 61 67 |>\Provid|esPackag|
|00000080| 65 7b 78 72 7d 0a 25 3c | 70 61 63 6b 61 67 65 3e |e{xr}.%<|package>|
|00000090| 20 20 20 20 20 20 20 20 | 20 5b 31 39 39 34 2f 30 | | [1994/0|
|000000a0| 35 2f 32 38 20 76 35 2e | 30 32 20 65 58 74 65 72 |5/28 v5.|02 eXter|
|000000b0| 6e 61 6c 20 52 65 66 65 | 72 65 6e 63 65 73 20 28 |nal Refe|rences (|
|000000c0| 44 50 43 29 5d 0a 25 0a | 25 3c 2a 64 72 69 76 65 |DPC)].%.|%<*drive|
|000000d0| 72 3e 0a 5c 64 6f 63 75 | 6d 65 6e 74 63 6c 61 73 |r>.\docu|mentclas|
|000000e0| 73 7b 6c 74 78 64 6f 63 | 7d 0a 5c 75 73 65 70 61 |s{ltxdoc|}.\usepa|
|000000f0| 63 6b 61 67 65 7b 78 72 | 7d 0a 5c 47 65 74 46 69 |ckage{xr|}.\GetFi|
|00000100| 6c 65 49 6e 66 6f 7b 78 | 72 2e 73 74 79 7d 0a 5c |leInfo{x|r.sty}.\|
|00000110| 62 65 67 69 6e 7b 64 6f | 63 75 6d 65 6e 74 7d 0a |begin{do|cument}.|
|00000120| 5c 74 69 74 6c 65 7b 54 | 68 65 20 5c 74 65 78 74 |\title{T|he \text|
|00000130| 73 66 7b 78 72 7d 20 70 | 61 63 6b 61 67 65 5c 74 |sf{xr} p|ackage\t|
|00000140| 68 61 6e 6b 73 7b 54 68 | 69 73 20 66 69 6c 65 0a |hanks{Th|is file.|
|00000150| 20 20 20 20 20 20 20 20 | 68 61 73 20 76 65 72 73 | |has vers|
|00000160| 69 6f 6e 20 6e 75 6d 62 | 65 72 20 5c 66 69 6c 65 |ion numb|er \file|
|00000170| 76 65 72 73 69 6f 6e 2c | 20 6c 61 73 74 0a 20 20 |version,| last. |
|00000180| 20 20 20 20 20 20 72 65 | 76 69 73 65 64 20 5c 66 | re|vised \f|
|00000190| 69 6c 65 64 61 74 65 2e | 7d 7d 0a 5c 61 75 74 68 |iledate.|}}.\auth|
|000001a0| 6f 72 7b 44 61 76 69 64 | 20 43 61 72 6c 69 73 6c |or{David| Carlisl|
|000001b0| 65 5c 74 68 61 6e 6b 73 | 7b 25 0a 20 20 54 68 65 |e\thanks|{%. The|
|000001c0| 20 41 75 74 68 6f 72 20 | 6f 66 20 56 65 72 73 69 | Author |of Versi|
|000001d0| 6f 6e 73 20 31 2d 2d 34 | 20 77 61 73 20 4a 65 61 |ons 1--4| was Jea|
|000001e0| 6e 2d 50 69 65 72 72 65 | 20 44 72 75 63 62 65 72 |n-Pierre| Drucber|
|000001f0| 74 7d 5c 5c 0a 20 20 63 | 61 72 6c 69 73 6c 65 40 |t}\\. c|arlisle@|
|00000200| 63 73 2e 6d 61 6e 2e 61 | 63 2e 75 6b 7d 0a 5c 64 |cs.man.a|c.uk}.\d|
|00000210| 61 74 65 7b 5c 66 69 6c | 65 64 61 74 65 7d 0a 5c |ate{\fil|edate}.\|
|00000220| 6d 61 6b 65 74 69 74 6c | 65 0a 5c 44 6f 63 49 6e |maketitl|e.\DocIn|
|00000230| 70 75 74 7b 78 72 2e 64 | 74 78 7d 0a 5c 65 6e 64 |put{xr.d|tx}.\end|
|00000240| 7b 64 6f 63 75 6d 65 6e | 74 7d 0a 25 3c 2f 64 72 |{documen|t}.%</dr|
|00000250| 69 76 65 72 3e 0a 25 20 | 5c 66 69 0a 25 0a 25 20 |iver>.% |\fi.%.% |
|00000260| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000270| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000280| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000290| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000002a0| 25 25 25 25 0a 25 0a 25 | 20 5c 43 68 65 63 6b 53 |%%%%.%.%| \CheckS|
|000002b0| 75 6d 7b 38 37 7d 0a 25 | 0a 25 20 5c 63 68 61 6e |um{87}.%|.% \chan|
|000002c0| 67 65 73 7b 76 35 2e 30 | 30 7d 7b 31 39 39 33 2f |ges{v5.0|0}{1993/|
|000002d0| 30 37 2f 30 37 7d 0a 25 | 20 20 20 20 20 20 20 20 |07/07}.%| |
|000002e0| 20 7b 46 69 72 73 74 20 | 44 50 43 20 76 65 72 73 | {First |DPC vers|
|000002f0| 69 6f 6e 20 28 62 79 20 | 61 67 72 65 65 6d 65 6e |ion (by |agreemen|
|00000300| 74 20 77 69 74 68 20 4a | 2d 50 44 29 2e 20 20 4e |t with J|-PD). N|
|00000310| 65 77 20 6d 65 63 68 61 | 6e 69 73 6d 0a 25 20 20 |ew mecha|nism.% |
|00000320| 20 20 20 20 20 20 20 28 | 5c 63 6d 64 7b 5c 72 65 | (|\cmd{\re|
|00000330| 61 64 7d 20 69 6e 73 74 | 65 61 64 20 6f 66 20 5c |ad} inst|ead of \|
|00000340| 63 6d 64 5c 69 6e 70 75 | 74 29 2e 7d 0a 25 0a 25 |cmd\inpu|t).}.%.%|
|00000350| 20 5c 63 68 61 6e 67 65 | 73 7b 76 35 2e 30 31 7d | \change|s{v5.01}|
|00000360| 7b 31 39 39 33 2f 30 37 | 2f 32 30 7d 7b 46 69 78 |{1993/07|/20}{Fix|
|00000370| 20 62 75 67 20 61 64 64 | 65 64 20 62 79 20 44 50 | bug add|ed by DP|
|00000380| 43 2c 20 76 35 2e 30 30 | 20 64 69 64 20 6e 6f 74 |C, v5.00| did not|
|00000390| 20 69 6d 70 6f 72 74 0a | 25 20 20 20 20 20 20 20 | import.|% |
|000003a0| 20 20 20 20 61 75 78 20 | 66 69 6c 65 73 20 6f 66 | aux |files of|
|000003b0| 20 5c 63 6d 64 5c 69 6e | 63 6c 75 64 65 27 65 64 | \cmd\in|clude'ed|
|000003c0| 20 66 69 6c 65 73 2e 20 | 28 52 65 70 6f 72 74 65 | files. |(Reporte|
|000003d0| 64 20 62 79 20 4a 2d 50 | 44 29 7d 0a 25 0a 25 20 |d by J-P|D)}.%.% |
|000003e0| 5c 63 68 61 6e 67 65 73 | 7b 76 35 2e 30 32 7d 7b |\changes|{v5.02}{|
|000003f0| 31 39 39 34 2f 30 35 2f | 32 38 7d 7b 55 70 64 61 |1994/05/|28}{Upda|
|00000400| 74 65 20 66 6f 72 20 4c | 61 54 65 58 32 65 7d 0a |te for L|aTeX2e}.|
|00000410| 25 0a 25 0a 25 20 54 68 | 69 73 20 70 61 63 6b 61 |%.%.% Th|is packa|
|00000420| 67 65 20 69 6d 70 6c 65 | 6d 65 6e 74 73 20 61 20 |ge imple|ments a |
|00000430| 73 79 73 74 65 6d 20 66 | 6f 72 20 65 58 74 65 72 |system f|or eXter|
|00000440| 6e 61 6c 20 52 65 66 65 | 72 65 6e 63 65 73 2e 0a |nal Refe|rences..|
|00000450| 25 0a 25 20 49 66 20 6f | 6e 65 20 64 6f 63 75 6d |%.% If o|ne docum|
|00000460| 65 6e 74 20 6e 65 65 64 | 73 20 74 6f 20 72 65 66 |ent need|s to ref|
|00000470| 65 72 20 74 6f 20 73 65 | 63 74 69 6f 6e 73 20 6f |er to se|ctions o|
|00000480| 66 20 61 6e 6f 74 68 65 | 72 2c 20 73 61 79 20 7c |f anothe|r, say ||
|00000490| 61 61 61 2e 74 65 78 7c | 2c 0a 25 20 74 68 65 6e |aaa.tex||,.% then|
|000004a0| 20 74 68 69 73 20 70 61 | 63 6b 61 67 65 20 6d 61 | this pa|ckage ma|
|000004b0| 79 20 62 65 20 6c 6f 61 | 64 65 64 20 69 6e 20 74 |y be loa|ded in t|
|000004c0| 68 65 20 6d 61 69 6e 20 | 66 69 6c 65 2c 20 61 6e |he main |file, an|
|000004d0| 64 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 5c 5c 0a |d the co|mmand\\.|
|000004e0| 25 20 7c 5c 65 78 74 65 | 72 6e 61 6c 64 6f 63 75 |% |\exte|rnaldocu|
|000004f0| 6d 65 6e 74 7b 61 61 61 | 7d 7c 5c 5c 0a 25 20 20 |ment{aaa|}|\\.% |
|00000500| 67 69 76 65 6e 20 69 6e | 20 74 68 65 20 70 72 65 |given in| the pre|
|00000510| 61 6d 62 6c 65 2e 0a 25 | 0a 25 20 54 68 65 6e 20 |amble..%|.% Then |
|00000520| 79 6f 75 20 6d 61 79 20 | 75 73 65 20 7c 5c 72 65 |you may |use |\re|
|00000530| 66 7c 20 61 6e 64 20 7c | 5c 70 61 67 65 72 65 66 |f| and ||\pageref|
|00000540| 7c 20 74 6f 20 72 65 66 | 65 72 20 74 6f 20 61 6e || to ref|er to an|
|00000550| 79 74 68 69 6e 67 20 77 | 68 69 63 68 20 68 61 73 |ything w|hich has|
|00000560| 0a 25 20 62 65 65 6e 20 | 67 69 76 65 6e 20 61 20 |.% been |given a |
|00000570| 7c 5c 6c 61 62 65 6c 7c | 20 69 6e 20 65 69 74 68 ||\label|| in eith|
|00000580| 65 72 20 7c 61 61 61 2e | 74 65 78 7c 20 6f 72 20 |er |aaa.|tex| or |
|00000590| 74 68 65 20 6d 61 69 6e | 20 64 6f 63 75 6d 65 6e |the main| documen|
|000005a0| 74 2e 0a 25 20 59 6f 75 | 20 6d 61 79 20 64 65 63 |t..% You| may dec|
|000005b0| 6c 61 72 65 20 61 6e 79 | 20 6e 75 6d 62 65 72 20 |lare any| number |
|000005c0| 6f 66 20 73 75 63 68 20 | 65 78 74 65 72 6e 61 6c |of such |external|
|000005d0| 20 64 6f 63 75 6d 65 6e | 74 73 2e 0a 25 0a 25 20 | documen|ts..%.% |
|000005e0| 49 66 20 61 6e 79 20 6f | 66 20 74 68 65 20 65 78 |If any o|f the ex|
|000005f0| 74 65 72 6e 61 6c 20 64 | 6f 63 75 6d 65 6e 74 73 |ternal d|ocuments|
|00000600| 2c 20 6f 72 20 74 68 65 | 20 6d 61 69 6e 20 64 6f |, or the| main do|
|00000610| 63 75 6d 65 6e 74 2c 20 | 75 73 65 20 74 68 65 20 |cument, |use the |
|00000620| 73 61 6d 65 0a 25 20 7c | 5c 6c 61 62 65 6c 7c 20 |same.% ||\label| |
|00000630| 74 68 65 6e 20 61 6e 20 | 65 72 72 6f 72 20 77 69 |then an |error wi|
|00000640| 6c 6c 20 6f 63 63 75 72 | 20 61 73 20 74 68 65 20 |ll occur| as the |
|00000650| 6c 61 62 65 6c 20 77 69 | 6c 6c 20 62 65 20 6d 75 |label wi|ll be mu|
|00000660| 6c 74 69 70 6c 79 0a 25 | 20 64 65 66 69 6e 65 64 |ltiply.%| defined|
|00000670| 2e 20 54 6f 20 6f 76 65 | 72 63 6f 6d 65 20 74 68 |. To ove|rcome th|
|00000680| 69 73 20 70 72 6f 62 6c | 65 6d 20 7c 5c 65 78 74 |is probl|em |\ext|
|00000690| 65 72 6e 61 6c 64 6f 63 | 75 6d 65 6e 74 7c 20 68 |ernaldoc|ument| h|
|000006a0| 61 73 20 61 6e 20 6f 70 | 74 69 6f 6e 61 6c 0a 25 |as an op|tional.%|
|000006b0| 20 61 72 67 75 6d 65 6e | 74 2e 20 49 66 20 79 6f | argumen|t. If yo|
|000006c0| 75 20 64 65 63 6c 61 72 | 65 20 7c 5c 65 78 74 65 |u declar|e |\exte|
|000006d0| 72 6e 61 6c 64 6f 63 75 | 6d 65 6e 74 5b 41 2d 5d |rnaldocu|ment[A-]|
|000006e0| 7b 61 61 61 7d 7c 20 54 | 68 65 6e 20 61 6c 6c 0a |{aaa}| T|hen all.|
|000006f0| 25 20 72 65 66 65 72 65 | 6e 63 65 73 20 66 72 6f |% refere|nces fro|
|00000700| 6d 20 7c 61 61 61 7c 20 | 61 72 65 20 70 72 65 66 |m |aaa| |are pref|
|00000710| 69 78 65 64 20 62 79 20 | 7c 41 2d 7c 2e 20 53 6f |ixed by ||A-|. So|
|00000720| 20 66 6f 72 20 69 6e 73 | 74 61 6e 63 65 2c 20 69 | for ins|tance, i|
|00000730| 66 20 61 0a 25 20 73 65 | 63 74 69 6f 6e 20 6f 66 |f a.% se|ction of|
|00000740| 20 7c 61 61 61 7c 20 68 | 61 64 20 7c 5c 6c 61 62 | |aaa| h|ad |\lab|
|00000750| 65 6c 7b 69 6e 74 72 6f | 7d 7c 2c 20 74 68 65 6e |el{intro|}|, then|
|00000760| 20 74 68 69 73 20 63 6f | 75 6c 64 20 62 65 20 72 | this co|uld be r|
|00000770| 65 66 65 72 65 6e 63 65 | 64 0a 25 20 77 69 74 68 |eference|d.% with|
|00000780| 20 7c 5c 72 65 66 7b 41 | 2d 69 6e 74 72 6f 7d 7c | |\ref{A|-intro}||
|00000790| 2e 20 54 68 65 20 70 72 | 65 66 69 78 20 6e 65 65 |. The pr|efix nee|
|000007a0| 64 20 6e 6f 74 20 62 65 | 20 7c 41 2d 7c 2c 20 69 |d not be| |A-|, i|
|000007b0| 74 20 63 61 6e 20 62 65 | 20 61 6e 79 0a 25 20 73 |t can be| any.% s|
|000007c0| 74 72 69 6e 67 20 63 68 | 6f 73 65 6e 20 74 6f 20 |tring ch|osen to |
|000007d0| 65 6e 73 75 72 65 20 74 | 68 61 74 20 61 6c 6c 20 |ensure t|hat all |
|000007e0| 74 68 65 20 6c 61 62 65 | 6c 73 20 69 6d 70 6f 72 |the labe|ls impor|
|000007f0| 74 65 64 20 66 72 6f 6d | 20 65 78 74 65 72 6e 61 |ted from| externa|
|00000800| 6c 0a 25 20 66 69 6c 65 | 73 20 61 72 65 20 75 6e |l.% file|s are un|
|00000810| 69 71 75 65 2e 20 4e 6f | 74 65 20 68 6f 77 65 76 |ique. No|te howev|
|00000820| 65 72 20 74 68 61 74 20 | 69 66 20 79 6f 75 72 20 |er that |if your |
|00000830| 73 74 79 6c 65 20 64 65 | 63 6c 61 72 65 73 20 63 |style de|clares c|
|00000840| 65 72 74 61 69 6e 0a 25 | 20 61 63 74 69 76 65 20 |ertain.%| active |
|00000850| 63 68 61 72 61 63 74 65 | 72 73 20 28 7c 3a 7c 20 |characte|rs (|:| |
|00000860| 69 6e 20 46 72 65 6e 63 | 68 2c 20 7c 22 7c 20 69 |in Frenc|h, |"| i|
|00000870| 6e 20 47 65 72 6d 61 6e | 29 20 74 68 65 6e 20 74 |n German|) then t|
|00000880| 68 65 73 65 0a 25 20 63 | 68 61 72 61 63 74 65 72 |hese.% c|haracter|
|00000890| 73 20 63 61 6e 20 6e 6f | 74 20 75 73 75 61 6c 6c |s can no|t usuall|
|000008a0| 79 20 62 65 20 75 73 65 | 64 20 69 6e 20 7c 5c 6c |y be use|d in |\l|
|000008b0| 61 62 65 6c 7c 2c 20 61 | 6e 64 20 73 69 6d 69 6c |abel|, a|nd simil|
|000008c0| 61 72 6c 79 20 6d 61 79 | 20 6e 6f 74 0a 25 20 62 |arly may| not.% b|
|000008d0| 65 20 75 73 65 64 20 69 | 6e 20 74 68 65 20 6f 70 |e used i|n the op|
|000008e0| 74 69 6f 6e 61 6c 20 61 | 72 67 75 6d 65 6e 74 20 |tional a|rgument |
|000008f0| 74 6f 20 7c 5c 65 78 74 | 65 72 6e 61 6c 64 6f 63 |to |\ext|ernaldoc|
|00000900| 75 6d 65 6e 74 7c 2e 0a | 25 0a 25 20 5c 53 74 6f |ument|..|%.% \Sto|
|00000910| 70 45 76 65 6e 74 75 61 | 6c 6c 79 7b 7d 0a 25 0a |pEventua|lly{}.%.|
|00000920| 25 20 5c 73 65 63 74 69 | 6f 6e 7b 54 68 65 20 6d |% \secti|on{The m|
|00000930| 61 63 72 6f 73 7d 0a 25 | 0a 25 20 20 20 20 5c 62 |acros}.%|.% \b|
|00000940| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00000950| 25 3c 2a 70 61 63 6b 61 | 67 65 3e 0a 25 20 20 20 |%<*packa|ge>.% |
|00000960| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00000970| 0a 25 0a 25 20 43 68 65 | 63 6b 20 66 6f 72 20 74 |.%.% Che|ck for t|
|00000980| 68 65 20 6f 70 74 69 6f | 6e 61 6c 20 61 72 67 75 |he optio|nal argu|
|00000990| 6d 65 6e 74 2e 0a 25 20 | 20 20 20 5c 62 65 67 69 |ment..% | \begi|
|000009a0| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|000009b0| 66 5c 65 78 74 65 72 6e | 61 6c 64 6f 63 75 6d 65 |f\extern|aldocume|
|000009c0| 6e 74 7b 5c 40 69 66 6e | 65 78 74 63 68 61 72 5b |nt{\@ifn|extchar[|
|000009d0| 5c 58 52 40 7b 5c 58 52 | 40 5b 5d 7d 7d 0a 25 20 |\XR@{\XR|@[]}}.% |
|000009e0| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|000009f0| 65 7d 0a 25 0a 25 20 53 | 61 76 65 20 74 68 65 20 |e}.%.% S|ave the |
|00000a00| 6f 70 74 69 6f 6e 61 6c | 20 70 72 65 66 69 78 2e |optional| prefix.|
|00000a10| 20 53 74 61 72 74 20 70 | 72 6f 63 65 73 73 69 6e | Start p|rocessin|
|00000a20| 67 20 74 68 65 20 66 69 | 72 73 74 20 7c 61 75 78 |g the fi|rst |aux|
|00000a30| 7c 20 66 69 6c 65 2e 0a | 25 20 20 20 20 5c 62 65 || file..|% \be|
|00000a40| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 5c |gin{macr|ocode}.\|
|00000a50| 64 65 66 5c 58 52 40 5b | 23 31 5d 23 32 7b 7b 25 |def\XR@[|#1]#2{{%|
|00000a60| 0a 20 20 5c 6d 61 6b 65 | 61 74 6c 65 74 74 65 72 |. \make|atletter|
|00000a70| 0a 20 20 5c 64 65 66 5c | 58 52 40 70 72 65 66 69 |. \def\|XR@prefi|
|00000a80| 78 7b 23 31 7d 25 0a 20 | 20 5c 58 52 40 6e 65 78 |x{#1}%. | \XR@nex|
|00000a90| 74 23 32 2e 61 75 78 5c | 72 65 6c 61 78 5c 5c 7d |t#2.aux\|relax\\}|
|00000aa0| 7d 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |}.% \|end{macr|
|00000ab0| 6f 63 6f 64 65 7d 0a 25 | 0a 25 20 50 72 6f 63 65 |ocode}.%|.% Proce|
|00000ac0| 73 73 20 74 68 65 20 6e | 65 78 74 20 7c 61 75 78 |ss the n|ext |aux|
|00000ad0| 7c 20 66 69 6c 65 20 69 | 6e 20 74 68 65 20 6c 69 || file i|n the li|
|00000ae0| 73 74 20 61 6e 64 20 72 | 65 6d 6f 76 65 20 69 74 |st and r|emove it|
|00000af0| 20 66 72 6f 6d 20 74 68 | 65 20 68 65 61 64 20 6f | from th|e head o|
|00000b00| 66 0a 25 20 74 68 65 20 | 6c 69 73 74 20 6f 66 20 |f.% the |list of |
|00000b10| 66 69 6c 65 73 20 74 6f | 20 70 72 6f 63 65 73 73 |files to| process|
|00000b20| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|00000b30| 63 72 6f 63 6f 64 65 7d | 0a 5c 64 65 66 5c 58 52 |crocode}|.\def\XR|
|00000b40| 40 6e 65 78 74 23 31 5c | 72 65 6c 61 78 23 32 5c |@next#1\|relax#2\|
|00000b50| 5c 7b 25 0a 20 20 5c 65 | 64 65 66 5c 58 52 40 6c |\{%. \e|def\XR@l|
|00000b60| 69 73 74 7b 23 32 7d 25 | 0a 20 20 5c 58 52 40 6c |ist{#2}%|. \XR@l|
|00000b70| 6f 6f 70 7b 23 31 7d 7d | 0a 25 20 20 20 20 5c 65 |oop{#1}}|.% \e|
|00000b80| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 0a |nd{macro|code}.%.|
|00000b90| 25 20 43 68 65 63 6b 20 | 77 68 65 74 68 65 72 20 |% Check |whether |
|00000ba0| 74 68 65 20 6c 69 73 74 | 20 6f 66 20 7c 61 75 78 |the list| of |aux|
|00000bb0| 7c 20 66 69 6c 65 73 20 | 69 73 20 65 6d 70 74 79 || files |is empty|
|00000bc0| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|00000bd0| 63 72 6f 63 6f 64 65 7d | 0a 5c 64 65 66 5c 58 52 |crocode}|.\def\XR|
|00000be0| 40 61 75 78 7b 25 0a 20 | 20 5c 69 66 78 5c 58 52 |@aux{%. | \ifx\XR|
|00000bf0| 40 6c 69 73 74 5c 40 65 | 6d 70 74 79 5c 65 6c 73 |@list\@e|mpty\els|
|00000c00| 65 5c 65 78 70 61 6e 64 | 61 66 74 65 72 5c 58 52 |e\expand|after\XR|
|00000c10| 40 65 78 70 6c 69 73 74 | 5c 66 69 7d 0a 25 20 20 |@explist|\fi}.% |
|00000c20| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00000c30| 7d 0a 25 0a 0a 25 20 45 | 78 70 61 6e 64 20 74 68 |}.%..% E|xpand th|
|00000c40| 65 20 6c 69 73 74 20 6f | 66 20 61 75 78 20 66 69 |e list o|f aux fi|
|00000c50| 6c 65 73 2c 20 61 6e 64 | 20 63 61 6c 6c 20 7c 5c |les, and| call |\|
|00000c60| 58 52 40 6e 65 78 74 7c | 20 74 6f 20 70 72 6f 63 |XR@next|| to proc|
|00000c70| 65 73 73 20 74 68 65 20 | 66 69 72 73 74 0a 25 20 |ess the |first.% |
|00000c80| 6f 6e 65 2e 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |one..% | \begin|
|00000c90| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 64 65 66 |{macroco|de}.\def|
|00000ca0| 5c 58 52 40 65 78 70 6c | 69 73 74 7b 5c 65 78 70 |\XR@expl|ist{\exp|
|00000cb0| 61 6e 64 61 66 74 65 72 | 5c 58 52 40 6e 65 78 74 |andafter|\XR@next|
|00000cc0| 5c 58 52 40 6c 69 73 74 | 5c 5c 7d 0a 25 20 20 20 |\XR@list|\\}.% |
|00000cd0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00000ce0| 0a 25 0a 25 20 49 66 20 | 74 68 65 20 7c 61 75 78 |.%.% If |the |aux|
|00000cf0| 7c 20 66 69 6c 65 20 65 | 78 69 73 74 73 2c 20 6c || file e|xists, l|
|00000d00| 6f 6f 70 20 74 68 72 6f | 75 67 68 20 6c 69 6e 65 |oop thro|ugh line|
|00000d10| 20 62 79 20 6c 69 6e 65 | 2c 20 6c 6f 6f 6b 69 6e | by line|, lookin|
|00000d20| 67 20 66 6f 72 0a 25 20 | 7c 5c 6e 65 77 6c 61 62 |g for.% ||\newlab|
|00000d30| 65 6c 7c 20 61 6e 64 20 | 7c 5c 40 69 6e 70 75 74 |el| and ||\@input|
|00000d40| 7c 2e 20 4f 74 68 65 72 | 77 69 73 65 20 70 72 6f ||. Other|wise pro|
|00000d50| 63 65 73 73 20 74 68 65 | 20 6e 65 78 74 20 66 69 |cess the| next fi|
|00000d60| 6c 65 20 69 6e 20 74 68 | 65 0a 25 20 6c 69 73 74 |le in th|e.% list|
|00000d70| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|00000d80| 63 72 6f 63 6f 64 65 7d | 0a 5c 64 65 66 5c 58 52 |crocode}|.\def\XR|
|00000d90| 40 6c 6f 6f 70 23 31 7b | 5c 6f 70 65 6e 69 6e 5c |@loop#1{|\openin\|
|00000da0| 40 69 6e 70 75 74 63 68 | 65 63 6b 23 31 5c 72 65 |@inputch|eck#1\re|
|00000db0| 6c 61 78 0a 20 20 5c 69 | 66 65 6f 66 5c 40 69 6e |lax. \i|feof\@in|
|00000dc0| 70 75 74 63 68 65 63 6b | 0a 20 20 20 20 5c 50 61 |putcheck|. \Pa|
|00000dd0| 63 6b 61 67 65 57 61 72 | 6e 69 6e 67 7b 78 72 7d |ckageWar|ning{xr}|
|00000de0| 7b 5e 5e 4a 4e 6f 20 66 | 69 6c 65 20 23 31 5e 5e |{^^JNo f|ile #1^^|
|00000df0| 4a 4c 41 42 45 4c 53 20 | 4e 4f 54 20 49 4d 50 4f |JLABELS |NOT IMPO|
|00000e00| 52 54 45 44 2e 5e 5e 4a | 7d 25 0a 20 20 20 20 5c |RTED.^^J|}%. \|
|00000e10| 65 78 70 61 6e 64 61 66 | 74 65 72 5c 58 52 40 61 |expandaf|ter\XR@a|
|00000e20| 75 78 0a 20 20 5c 65 6c | 73 65 0a 20 20 20 20 5c |ux. \el|se. \|
|00000e30| 50 61 63 6b 61 67 65 49 | 6e 66 6f 7b 78 72 7d 7b |PackageI|nfo{xr}{|
|00000e40| 49 4d 50 4f 52 54 49 4e | 47 20 4c 41 42 45 4c 53 |IMPORTIN|G LABELS|
|00000e50| 20 46 52 4f 4d 20 23 31 | 7d 25 0a 20 20 20 20 5c | FROM #1|}%. \|
|00000e60| 65 78 70 61 6e 64 61 66 | 74 65 72 5c 58 52 40 72 |expandaf|ter\XR@r|
|00000e70| 65 61 64 5c 66 69 7d 0a | 25 20 20 20 20 5c 65 6e |ead\fi}.|% \en|
|00000e80| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 0a 25 |d{macroc|ode}.%.%|
|00000e90| 20 52 65 61 64 20 74 68 | 65 20 6e 65 78 74 20 6c | Read th|e next l|
|00000ea0| 69 6e 65 20 6f 66 20 74 | 68 65 20 61 75 78 20 66 |ine of t|he aux f|
|00000eb0| 69 6c 65 2e 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |ile..% | \begin|
|00000ec0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 64 65 66 |{macroco|de}.\def|
|00000ed0| 5c 58 52 40 72 65 61 64 | 7b 25 0a 20 20 5c 72 65 |\XR@read|{%. \re|
|00000ee0| 61 64 5c 40 69 6e 70 75 | 74 63 68 65 63 6b 20 74 |ad\@inpu|tcheck t|
|00000ef0| 6f 5c 58 52 40 6c 69 6e | 65 0a 25 20 20 20 20 5c |o\XR@lin|e.% \|
|00000f00| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00000f10| 20 54 68 65 20 7c 2e 2e | 2e 7c 20 6d 61 6b 65 20 | The |..|.| make |
|00000f20| 73 75 72 65 20 74 68 61 | 74 20 7c 5c 58 52 40 74 |sure tha|t |\XR@t|
|00000f30| 65 73 74 7c 20 61 6c 77 | 61 79 73 20 68 61 73 20 |est| alw|ays has |
|00000f40| 73 75 66 66 69 63 69 65 | 6e 74 20 61 72 67 75 6d |sufficie|nt argum|
|00000f50| 65 6e 74 73 2e 0a 25 20 | 20 20 20 5c 62 65 67 69 |ents..% | \begi|
|00000f60| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 20 20 5c |n{macroc|ode}. \|
|00000f70| 65 78 70 61 6e 64 61 66 | 74 65 72 5c 58 52 40 74 |expandaf|ter\XR@t|
|00000f80| 65 73 74 5c 58 52 40 6c | 69 6e 65 2e 2e 2e 5c 58 |est\XR@l|ine...\X|
|00000f90| 52 40 7d 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |R@}.% | \end{ma|
|00000fa0| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 4c 6f 6f |crocode}|.%.% Loo|
|00000fb0| 6b 20 61 74 20 74 68 65 | 20 66 69 72 73 74 20 74 |k at the| first t|
|00000fc0| 6f 6b 65 6e 20 6f 66 20 | 74 68 65 20 6c 69 6e 65 |oken of |the line|
|00000fd0| 2e 0a 25 20 49 66 20 69 | 74 20 69 73 20 7c 5c 6e |..% If i|t is |\n|
|00000fe0| 65 77 6c 61 62 65 6c 7c | 2c 20 64 6f 20 74 68 65 |ewlabel||, do the|
|00000ff0| 20 7c 5c 6e 65 77 6c 61 | 62 65 6c 7c 2e 20 49 66 | |\newla|bel|. If|
|00001000| 20 69 74 20 69 73 20 7c | 5c 40 69 6e 70 75 74 7c | it is ||\@input||
|00001010| 2c 20 61 64 64 20 74 68 | 65 0a 25 20 66 69 6c 65 |, add th|e.% file|
|00001020| 6e 61 6d 65 20 74 6f 20 | 74 68 65 20 6c 69 73 74 |name to |the list|
|00001030| 20 6f 66 20 66 69 6c 65 | 73 20 74 6f 20 70 72 6f | of file|s to pro|
|00001040| 63 65 73 73 2e 20 4f 74 | 68 65 72 77 69 73 65 20 |cess. Ot|herwise |
|00001050| 69 67 6e 6f 72 65 2e 0a | 25 20 47 6f 20 61 72 6f |ignore..|% Go aro|
|00001060| 75 6e 64 20 74 68 65 20 | 6c 6f 6f 70 20 69 66 20 |und the |loop if |
|00001070| 6e 6f 74 20 61 74 20 65 | 6e 64 20 6f 66 20 66 69 |not at e|nd of fi|
|00001080| 6c 65 2e 20 46 69 6e 61 | 6c 6c 79 20 70 72 6f 63 |le. Fina|lly proc|
|00001090| 65 73 73 20 74 68 65 20 | 6e 65 78 74 0a 25 20 66 |ess the |next.% f|
|000010a0| 69 6c 65 20 69 6e 20 74 | 68 65 20 6c 69 73 74 2e |ile in t|he list.|
|000010b0| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|000010c0| 72 6f 63 6f 64 65 7d 0a | 5c 6c 6f 6e 67 5c 64 65 |rocode}.|\long\de|
|000010d0| 66 5c 58 52 40 74 65 73 | 74 23 31 23 32 23 33 23 |f\XR@tes|t#1#2#3#|
|000010e0| 34 5c 58 52 40 7b 25 0a | 20 20 5c 69 66 78 23 31 |4\XR@{%.| \ifx#1|
|000010f0| 5c 6e 65 77 6c 61 62 65 | 6c 0a 20 20 20 20 5c 6e |\newlabe|l. \n|
|00001100| 65 77 6c 61 62 65 6c 7b | 5c 58 52 40 70 72 65 66 |ewlabel{|\XR@pref|
|00001110| 69 78 23 32 7d 7b 23 33 | 7d 25 0a 20 20 5c 65 6c |ix#2}{#3|}%. \el|
|00001120| 73 65 5c 69 66 78 23 31 | 5c 40 69 6e 70 75 74 0a |se\ifx#1|\@input.|
|00001130| 20 20 20 20 20 5c 65 64 | 65 66 5c 58 52 40 6c 69 | \ed|ef\XR@li|
|00001140| 73 74 7b 5c 58 52 40 6c | 69 73 74 23 32 5c 72 65 |st{\XR@l|ist#2\re|
|00001150| 6c 61 78 7d 25 0a 20 20 | 5c 66 69 5c 66 69 0a 20 |lax}%. |\fi\fi. |
|00001160| 20 5c 69 66 65 6f 66 5c | 40 69 6e 70 75 74 63 68 | \ifeof\|@inputch|
|00001170| 65 63 6b 5c 65 78 70 61 | 6e 64 61 66 74 65 72 5c |eck\expa|ndafter\|
|00001180| 58 52 40 61 75 78 0a 20 | 20 5c 65 6c 73 65 5c 65 |XR@aux. | \else\e|
|00001190| 78 70 61 6e 64 61 66 74 | 65 72 5c 58 52 40 72 65 |xpandaft|er\XR@re|
|000011a0| 61 64 5c 66 69 7d 0a 25 | 20 20 20 20 5c 65 6e 64 |ad\fi}.%| \end|
|000011b0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 0a 25 20 |{macroco|de}.%.% |
|000011c0| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|000011d0| 6f 64 65 7d 0a 25 3c 2f | 70 61 63 6b 61 67 65 3e |ode}.%</|package>|
|000011e0| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|000011f0| 63 6f 64 65 7d 0a 25 0a | 25 20 5c 46 69 6e 61 6c |code}.%.|% \Final|
|00001200| 65 0a 25 0a 0a | |e.%.. | |
+--------+-------------------------+-------------------------+--------+--------+